package eerbaar.message.lib;

import eerbaar.commons.Color;
import eerbaar.shared.message.Message;

public class DisplayRisingTextMsg extends Message {

    private final Color color;
    private final String text;
    private final int x;
    private final int y;

    public DisplayRisingTextMsg(String text, int x, int y) {
        this(text, x, y, Color.BLACK);
    }

    public DisplayRisingTextMsg(String text, int x, int y, Color color) {
        this.color = color;
        this.text = text;
        this.x = x;
        this.y = y;
    }

    public Color getColor() {
        return this.color;
    }

    public String getText() {
        return this.text;
    }

    public int getX() {
        return this.x;
    }

    public int getY() {
        return this.y;
    }

}
